<html>
<head><meta charset="utf-8"><title>tests behave strangely on 1.32.0 · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tests.20behave.20strangely.20on.201.2E32.2E0.html">tests behave strangely on 1.32.0</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="156766473"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/tests%20behave%20strangely%20on%201.32.0/near/156766473" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tests.20behave.20strangely.20on.201.2E32.2E0.html#156766473">(Jan 24 2019 at 11:48)</a>:</h4>
<p>Today I was tracking a strange report about rav1e not building/executing right on fedora's rust distribution.</p>
<p>I got some spurious failures in a test and only on 1.32.0, if I run the test alone it works as supposed.</p>
<p>Anybody got a similar problem?</p>



<a name="156817593"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/tests%20behave%20strangely%20on%201.32.0/near/156817593" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tests.20behave.20strangely.20on.201.2E32.2E0.html#156817593">(Jan 25 2019 at 00:09)</a>:</h4>
<p><span class="user-mention" data-user-id="131070">@Luca Barbato</span> are the failures consistent? Can you run in in a tool like Miri or Valgrind? The first thing that comes to mind is that you have some <code>unsafe</code> code (I assume a project like rav1e has a healthy chunk of <code>unsafe</code>) that is triggering UB and 1.32 just happens to change something to make it evident.</p>



<a name="156835857"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/tests%20behave%20strangely%20on%201.32.0/near/156835857" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tests.20behave.20strangely.20on.201.2E32.2E0.html#156835857">(Jan 25 2019 at 07:52)</a>:</h4>
<p>It seems consistent and an not an UB (the unsafe code in rav1e is pretty minimal btw): the test failing when run with all the others does not fail when run alone.</p>



<a name="156837885"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/tests%20behave%20strangely%20on%201.32.0/near/156837885" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tests.20behave.20strangely.20on.201.2E32.2E0.html#156837885">(Jan 25 2019 at 08:43)</a>:</h4>
<p>The spurious failing test happens on macos, the build problems on fedora seem correlated to the bindgen version used for the decode tests.</p>
<p>how to use Miri btw?</p>



<a name="156838535"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/tests%20behave%20strangely%20on%201.32.0/near/156838535" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tests.20behave.20strangely.20on.201.2E32.2E0.html#156838535">(Jan 25 2019 at 08:58)</a>:</h4>
<p>Miri usage is documented in <a href="https://github.com/solson/miri#running-miri-on-your-own-projects-test-suite" target="_blank" title="https://github.com/solson/miri#running-miri-on-your-own-projects-test-suite">https://github.com/solson/miri#running-miri-on-your-own-projects-test-suite</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>